package com.zhy.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 计划任务配置类
 * Created by zhy on 2017/5/2.
 */
@Configuration
@ComponentScan("com.zhy.taskscheduler")
//开启对计划任务的支持
@EnableScheduling
public class TaskSchedulerConfig {
}
